package mMap;

// TODO: 6/19/24 没找到！！！
//import sun.jvm.hotspot.utilities.BitMap;

import java.util.HashMap;
import java.util.LinkedHashMap;

/**
 * @author Ajie
 * @date 2022/1/17
 * @function
 */
public class CacheMapPriority {
//    private LinkedHashMap<String, BitMap> mCacheFeatureBitMap = new LinkedHashMap<>(20);
    private volatile Entity last = new Entity();
    public static void main(String[] args) {
        System.out.println("CacheMapPriority:main:hello world");
    }

// TODO: 6/19/24 没找到！！！
//    public synchronized void setDetectBitmap(BitMap bitMap){
//        last.bitMap = bitMap;
//        last.detectTime = System.currentTimeMillis();//todo
//    }

    public synchronized void setFeature(byte[] feature, long memoryFileAddress){
        if (feature == null)return;

    }

    public void addBitmap(){

    }

    class Entity{
        long detectTime;
        // TODO: 6/19/24 没找到！！！
//        BitMap bitMap;
        String feature;
        String featureRef;
        long memoryFileAddress;
    }

}
